<?php
namespace app\index\controller;

use think\Controller;
use think\Request;

class Index extends Controller
{
    public function index(Request $request)
    {
        print_r($_GET);
//    	echo 'mylee'.PHP_EOL;
//    	print_r($request->name);
    }

    public function test(){
    	print_r([1,2]);
	}
    public function hello($name = 'ThinkPHP5')
    {
        return 'hello,' . $name;
    }
}
